<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>首页</title>
</head>

<body>
    <a href="地球.html">地球</a>
    <a href="加载.html">加载</a>
    <a href="input动画.html">输入框</a>
    <a href="流光按钮.html">流光按钮</a>
    <a href="分页.html">分页</a>
    <a href="图片浏览.html">图片浏览</a>
    <a href="test.html">test</a>
    <a href="日与月.html">日与月</a>
    <a href="栅格拆解图片效果.html">栅格拆解图片效果</a>
    <a href="解屏效果.html">解屏效果</a>
    <a href="图片爆炸.html">图片爆炸</a>
    <a href="炫酷介绍.html">炫酷介绍</a>
    <a href="B站背景.html">B站背景</a>
    <script type="text/javascript">
        window.onload = function() {
            if ('serviceWorker' in navigator) {
                navigator.serviceWorker.register('/sw.js', {
                    scope: '/'
                }).then(function(reg) {
                    // registration worked
                    console.log('Registration succeeded. Scope is ' + reg.scope);
                }).catch(function(error) {
                    // registration failed
                    console.log('Registration failed with ' + error);
                });
            }
        }
    </script>
</body>

</html>